#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>
#include "ui_mainwindow.h"

#include <QSystemTrayIcon>
#include <QIcon>

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0, Qt::WFlags flags = 0);
    ~MainWindow();

private:
    Ui::MainWindowClass ui;
    QSystemTrayIcon* tray_icon;

    void init_tray_icon();
    void change_tray_status(bool status);
    void show_message(QString message_text, QString title = "");
};

#endif // MAINWINDOW_H
